package com.ruoyi.record.service;

import java.util.List;
import com.ruoyi.record.domain.RecordAttendContent;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 考勤详情Service接口
 * 
 * @author ruoyi
 * @date 2022-09-26
 */
public interface IRecordAttendContentService extends IService<RecordAttendContent>
{
    /**
     * 查询考勤详情
     * 
     * @param contentId 考勤详情主键
     * @return 考勤详情
     */
    public RecordAttendContent selectRecordAttendContentByContentId(Long contentId);

    /**
     * 查询考勤详情列表
     * 
     * @param recordAttendContent 考勤详情
     * @return 考勤详情集合
     */
    public List<RecordAttendContent> selectRecordAttendContentList(RecordAttendContent recordAttendContent);

    /**
     * 新增考勤详情
     * 
     * @param recordAttendContent 考勤详情
     * @return 结果
     */
    public int insertRecordAttendContent(RecordAttendContent recordAttendContent);

    /**
     * 修改考勤详情
     * 
     * @param recordAttendContent 考勤详情
     * @return 结果
     */
    public int updateRecordAttendContent(RecordAttendContent recordAttendContent);

    /**
     * 批量删除考勤详情
     * 
     * @param contentIds 需要删除的考勤详情主键集合
     * @return 结果
     */
    public int deleteRecordAttendContentByContentIds(String contentIds);

    /**
     * 删除考勤详情信息
     * 
     * @param contentId 考勤详情主键
     * @return 结果
     */
    public int deleteRecordAttendContentByContentId(Long contentId);

    /**
     * 校验考勤
     *
     * @param recordAttendContent 考勤
     * @return 结果
     */
    public boolean checkRecordAttendContent(RecordAttendContent recordAttendContent);

}
